package com.hl.sfzy.service.content.impl;

import com.hl.sfzy.entity.content.ArticleType;
import com.hl.sfzy.mapper.content.article.ArticleMapper;
import com.hl.sfzy.mapper.content.article.ArticleTypeMapper;
import com.hl.sfzy.service.content.ArticleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class ArticleTypeServiceImpl implements ArticleTypeService {

    @Autowired
    public ArticleTypeMapper mapper;

    @Override
    public List<ArticleType> getAll() {
        return mapper.findByAll();
    }
}
